
const shuju = {
  state: {
    datas: [
      {
        path: '/risk_management',
        name: 'risk_management',
        title: '风险管理',
        icon: 'line-chart',
        redirect: { name: 'risk_indicator' },
        component: 'layoutHeaderAside',
        children: [
          { path: 'risk_indicator', name: 'risk_management/risk_indicator', component: 'page/risk_management/risk_indicator', meta: { auth: true, title: '风险指标', icon: 'check-square-o' } },
          { path: 'risk_early_warning', name: 'risk_management/risk_early_warning', component: 'page/risk_management/risk_early_warning', meta: { auth: true, title: '风险预警', icon: 'exclamation-triangle' } },
          { path: 'risk_signal_lamp', name: 'risk_management/risk_signal_lamp', component: 'page/risk_management/risk_signal_lamp', meta: { auth: true, title: '风险信号灯', icon: 'bell' } }
        ]
      },
      {
        path: '/hedging_strategy',
        name: 'hedging_strategy',
        title: '套期策略',
        icon: 'pencil-square-o',
        redirect: { name: 'tactical_management' },
        component: 'layoutHeaderAside',
        children: [
          { path: 'tactical_management', name: 'hedging_strategy/tactical_management', component: 'page/hedging_strategy/tactical_management', meta: { auth: true, title: '策略管理', icon: 'window-maximize' } },
          { path: 'order_management', name: 'hedging_strategy/order_management', component: 'page/hedging_strategy/order_management', meta: { auth: true, title: '指令管理', icon: 'hand-pointer-o' } },
          { path: 'match_management', name: 'hedging_strategy/match_management', component: 'page/hedging_strategy/match_management', meta: { auth: true, title: '匹配管理', icon: 'handshake-o' } }
        ]
      },
      {
        path: '/arbitrage_tool',
        name: 'arbitrage_tool',
        title: '套期工具',
        icon: 'wrench',
        redirect: { name: 'cash_management' },
        component: 'layoutHeaderAside',
        children: [
          { path: 'cash_management', name: 'arbitrage_tool/cash_management', component: 'page/arbitrage_tool/cash_management', meta: { auth: true, title: '现货管理', icon: 'inbox' } },
          { path: 'managed_futures', name: 'arbitrage_tool/managed_futures', component: 'page/arbitrage_tool/managed_futures', meta: { auth: true, title: '衍生品管理', icon: 'hourglass-start' } },
        ]
      },
      {
        path: '/report_form_statistics',
        name: 'report_form_statistics',
        title: '报表统计',
        icon: 'bar-chart',
        redirect: { name: 'nearby' },
        component: 'layoutHeaderAside',
        children: [
          { path: 'nearby', name: 'report_form_statistics/nearby', component: 'page/report_form_statistics/nearby', meta: { auth: true, title: '综合分析', icon: 'calculator' } },
          { path: 'position_analysis', name: 'report_form_statistics/position_analysis', component: 'page/report_form_statistics/position_analysis', meta: { auth: true, title: '头寸分析', icon: 'clone' } },
          { path: 'gain_and_loss_analysis', name: 'report_form_statistics/gain_and_loss_analysis', component: 'page/report_form_statistics/gain_and_loss_analysis', meta: { auth: true, title: '盈亏分析', icon: 'calendar-plus-o' } },
          { path: 'fund_analysis', name: 'report_form_statistics/fund_analysis', component: 'page/report_form_statistics/fund_analysis', meta: { auth: true, title: '资金分析', icon: 'money' } },
          { path: 'exposure_to_analysis', name: 'report_form_statistics/exposure_to_analysis', component: 'page/report_form_statistics/exposure_to_analysis', meta: { auth: true, title: '敞口趋势', icon: 'random' } },
          { path: 'match_the_detail', name: 'report_form_statistics/match_the_detail', component: 'page/report_form_statistics/match_the_detail', meta: { auth: true, title: '匹配明细', icon: 'file-text-o' } }
        ]
      },
      {
        path: '/basic_data',
        name: 'basic_data',
        title: '基础数据',
        icon: 'database',
        redirect: { name: 'custom_spot_market' },
        component: 'layoutHeaderAside',
        children: [
          { path: 'custom_spot_market', name: 'basic_data/custom_spot_market', component: 'page/basic_data/custom_spot_market', meta: { auth: true, title: '自定义现货行情', icon: 'street-view' } },
          { path: 'make_out_a_bill', name: 'basic_data/make_out_a_bill', component: 'page/basic_data/make_out_a_bill', meta: { auth: true, title: '期初开账', icon: 'bars' } },
          { path: 'merchants_information', name: 'basic_data/merchants_information', component: 'page/basic_data/merchants_information', meta: { auth: true, title: '客商信息', icon: 'address-book-o' } },
          { path: 'merchandise_news', name: 'basic_data/merchandise_news', component: 'page/basic_data/merchandise_news', meta: { auth: true, title: '商品信息', icon: 'list-alt' } },
          { path: 'derivative_information', name: 'basic_data/derivative_information', component: 'page/basic_data/derivative_information', meta: { auth: true, title: '衍生品信息', icon: 'th-large' } },
          { path: 'type_of_expense', name: 'basic_data/type_of_expense', component: 'page/basic_data/type_of_expense', meta: { auth: true, title: '费用信息', icon: 'gg' } },
          { path: 'currency_information', name: 'basic_data/currency_information', component: 'page/basic_data/currency_information', meta: { auth: true, title: '币种信息', icon: 'btc' } }
        ]
      },
      {
        path: '/market_center',
        name: 'market_center',
        title: '行情中心',
        icon: 'area-chart',
        redirect: { name: 'futures' },
        component: 'layoutHeaderAside',
        children: [
          { path: 'futures', name: 'market_center/futures', component: 'page/market_center/futures', meta: { auth: true, title: '期货', icon: 'life-ring' } },
          { path: 'warehouse', name: 'market_center/warehouse', component: 'page/market_center/warehouse', meta: { auth: true, title: '仓单', icon: 'map-o' } },
          { path: 'cash_commodity', name: 'market_center/cash_commodity', component: 'page/market_center/cash_commodity', meta: { auth: true, title: '现货', icon: 'cube' } },
          { path: 'exchange_rate', name: 'market_center/exchange_rate', component: 'page/market_center/exchange_rate', meta: { auth: true, title: '汇率', icon: 'usd' } },
          { path: 'BASIS', name: 'market_center/BASIS', component: 'page/market_center/BASIS', meta: { auth: true, title: '基差', icon: 'exchange' } },
          { path: 'options_market', name: 'market_center/options_market', component: 'page/market_center/options_market', meta: { auth: true, title: '期权', icon: 'road' } },
          { path: 'customer_spot_market', name: 'market_center/customer_spot_market', component: 'page/market_center/customer_spot_market', meta: { auth: true, title: '用户现货行情', icon: 'users' } }
        ]
      },
      {
        path: '/personal_center',
        name: 'personal_center',
        title: '个人中心',
        icon: 'id-card-o',
        redirect: { name: 'backlog' },
        component: 'layoutHeaderAside',
        children: [
          { path: 'backlog', name: 'personal_center/backlog', component: 'page/personal_center/backlog', meta: { auth: true, title: '待办事项', icon: 'folder-o' } },
          { path: 'already_backlog_items', name: 'personal_center/already_backlog_items', component: 'page/personal_center/already_backlog_items', meta: { auth: true, title: '已办事项', icon: 'folder-open-o' } },
          { path: 'log', name: 'personal_center/log', component: 'page/personal_center/log', meta: { auth: true, title: '我的消息', icon: 'clipboard' } }
        ]
      },
      {
        path: '/administrative_tool',
        name: 'administrative_tool',
        title: '管理工具',
        icon: 'cog',
        redirect: { name: 'examine_and_approve' },
        component: 'layoutHeaderAside',
        children: [
          { path: 'examine_and_approve', name: 'administrative_tool/examine_and_approve', component: 'page/administrative_tool/examine_and_approve', meta: { auth: true, title: '审批管理', icon: 'gavel' } },
          { path: 'authority_management', name: 'administrative_tool/authority_management', component: 'page/administrative_tool/authority_management', meta: { auth: true, title: '用户组织权限管理', icon: 'sitemap' } },
          { path: 'message_management', name: 'administrative_tool/message_management', component: 'page/administrative_tool/message_management', meta: { auth: true, title: '消息管理', icon: 'commenting-o' } },
          { path: 'log_management', name: 'administrative_tool/log_management', component: 'page/administrative_tool/log_management', meta: { auth: true, title: '日志管理', icon: 'calendar' } },
          // { path: 'configuration_management', name: 'administrative_tool/configuration_management', component: 'page/administrative_tool/configuration_management', meta: { auth: true, title: '配置管理', icon: 'puzzle-piece' } },
          { path: 'Futures_account_management', name: 'administrative_tool/Futures_account_management', component: 'page/administrative_tool/Futures_account_management', meta: { auth: true, title: '期货账户管理', icon: 'user-circle-o' } }
        ]
      },
      {
        path: '/annual_plan',
        name: 'annual_plan',
        title: '年度计划',
        icon: 'calendar-check-o',
        redirect: { name: 'plan_index' },
        component: 'layoutHeaderAside',
        children: [
          { path: 'plan_index', name: 'annual_plan/plan_index', component: 'page/annual_plan/plan_index', meta: { auth: true, title: '年度计划', icon: 'calendar-check-o' } },
        
        ]
      }
    ],
    status: null
  },
  mutations: {
    SET_SHUJY: (state, datas) => {
      state.datas = datas
    },
    SET_STATUS: (state, datas) => {
      state.status = datas
    }
  }
}
export default shuju
